package com.ruoyi.user.service;

import com.ruoyi.common.core.exception.user.Result;
import com.ruoyi.user.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpSession;
import java.io.UnsupportedEncodingException;

/**
* @author 14571
* @description 针对表【tb_user】的数据库操作Service
* @createDate 2023-03-22 18:30:27
*/
public interface UserService extends IService<User> {

    Result register(User user);

    Result sendCode(String mobile);

    Result login(User user, HttpSession session) throws UnsupportedEncodingException;
}
